<template>
  <header class="header-container">
    <a href="#" class="logo">amongdata</a>
    <slot></slot>
  </header>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.header-container {
  width: 100%;
  min-width: 1024px;
  height: 50px;
  background-color: #353535;
  font-size: 14px;
  color: #bbb;
  display: flex;
  align-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  .logo {
    color: #fff;
    margin-left: 10px;
    font-size: 18px;
    line-height: 50px;
  }
  .nav {
    margin-left: 15px;
    display: flex;
    .nav-item {
      margin-left: 10px;
      a {
        color: #bbb;
        display: block;
        line-height: 30px;
        padding: 10px 15px;
      }
      &.active {
        a {
          color: #fff;
        }
      }
    }
  }
}
</style>
